package com.itheima.config;

import org.springframework.context.annotation.*;
import org.springframework.transaction.annotation.EnableTransactionManagement;

/**
 * @author Xiao
 * @date 2021/9/13
 */
@Configuration
@ComponentScan("com.itheima")
@Import({JdbcConfig.class, MybatisConfig.class})
@PropertySource("classpath:jdbc.properties")
@EnableAspectJAutoProxy //开启注解开发AOP功能
@EnableTransactionManagement //开启注解开发事务驱动
public class SpringConfig {
}
